package com.cskaoyan.bean.bo.admin.role;

import com.cskaoyan.bean.po.admin.role.MarketRolePermission;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import java.util.List;

/**
 * @author MoJunXiang
 * @since 2022/09/09 14:53
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdminRolePermissionBo {

    /**
     * roleId : 21
     */
    @Min(1)
    private int roleId;
    private List<String> permissions;

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    public int getRoleId() {
        return roleId;
    }
}
